package com.easylinkin.linkappapi.grid.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 网格安全员检查项目
 *
 * @author xy
 * @since 2025-06-30
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("rail_grid_security_check_item")
public class GridSecurityCheckItem implements Serializable{
    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    @TableId(value = "id_", type = IdType.AUTO)
    private Long id;

    /**
     * 检查项目ID
     */
    @TableField(value = "parent_id_")
    private Long parentId;

    /**
     * 排序号
     */
    @TableField(value = "sort_")
    private Integer sort;

    /**
     * 检查项名称
     */
    @TableField(value = "name_")
    private String name;

    /**
     * 创建人id
     */
    @TableField(value = "create_id_")
    private Long createId;

    /**
     * 创建日期
     */
    @TableField(value = "create_time_")
    private Date createTime;

    /**
     * 修改人id
     */
    @TableField(value = "modify_id_")
    private Long modifyId;

    /**
     * 修改时间
     */
    @TableField(value = "modify_time_")
    private Date modifyTime;

    /**
     * 备注
     */
    @TableField(value = "remark_")
    private String remark;

    /**
     * 网格安全日志关联
     */
    @TableField(exist = false)
    private GridSecurityLogRelation gridSecurityLogRelation;

}
